// === DEFAULT / CUSTOM STYLE ===
// WARNING! always comment out ONE of the two require() calls below.
// 1. use next line to activate CUSTOM STYLE (./src/themes)
// require(`./themes/app.${__THEME}.styl`)
// 2. or, use next line to activate DEFAULT QUASAR STYLE
require(`quasar/dist/quasar.${__THEME}.css`)
require(`./static/css/reset.css`)
// ==============================、
import Vue from 'vue'
import Quasar from 'quasar'
import router from './router'
// import store from './store'
import VueResource from 'vue-resource'
import VueLazyload from 'vue-lazyload'
Vue.use(Quasar) // Install Quasar Framework
Vue.use(VueResource)
Vue.use(VueLazyload, {
  error: 'static/error.png',
  loading: 'static/Default.gif',
  attempt: 1
})
let app
Quasar.start(() => {
  // eslint-disable no-new
  app = new Vue({
    el: '#q-app',
    router,
    // store,
    render: h => h(require('./App'))
  })
})

export const vueApp = app
